//
//  Weather.h
//  Lesson
//
//  Created by centling on 15/4/19.
//  Copyright (c) 2015年 Seas.CHENG. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Mantle.h"

@interface Weather : MTLModel <MTLJSONSerializing>

@property(retain,nonatomic) NSString  *error;
@property(retain,nonatomic) NSString  *status;
@property(retain,nonatomic) NSString  *date;
@property(retain,nonatomic) NSArray  *results;

@end


//@class Result;
//@interface Results : MTLModel <MTLJSONSerializing>
//
//@property(retain,nonatomic) Result  *result;
//
//@end


@interface Result : MTLModel <MTLJSONSerializing>

@property(retain,nonatomic) NSString  *currentCity;
@property(retain,nonatomic) NSString  *pm25;
@property(retain,nonatomic) NSArray  *index;
@property(retain,nonatomic) NSArray  *weather_data;

@end


@interface Index : MTLModel <MTLJSONSerializing>

@property(retain,nonatomic) NSString  *title;
@property(retain,nonatomic) NSString  *zs;
@property(retain,nonatomic) NSString  *tipt;
@property(retain,nonatomic) NSString  *des;

@end


@interface Data : MTLModel <MTLJSONSerializing>

@property(retain,nonatomic) NSString  *date;
@property(retain,nonatomic) NSString  *dayPictureUrl;
@property(retain,nonatomic) NSString  *nightPictureUrl;
@property(retain,nonatomic) NSString  *weather;
@property(retain,nonatomic) NSString  *wind;
@property(retain,nonatomic) NSString  *temperature;

@end

